package com.xmj.ms.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xmj.common.annotation.Excel;
import com.xmj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 员工对象 Barbers
 *
 * @author ohh
 * @date 2024-04-21
 */
public class Barbers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 理发师ID */
    private Long barberID;

    /** 姓氏 */
    @Excel(name = "姓氏")
    private String firstName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String lastName;

    /** 专业技能 */
    @Excel(name = "专业技能")
    private String specialiZations;

    /** 工作日程 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "工作日程", width = 30, dateFormat = "yyyy-MM-dd")
    private Date availabilitySchedule;

    /** 雇佣日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "雇佣日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hireDate;

    public void setBarberID(Long barberID)
    {
        this.barberID = barberID;
    }

    public Long getBarberID()
    {
        return barberID;
    }
    public void setFirstName(String firstName)
    {
        this.firstName = firstName;
    }

    public String getFirstName()
    {
        return firstName;
    }
    public void setLastName(String lastName)
    {
        this.lastName = lastName;
    }

    public String getLastName()
    {
        return lastName;
    }
    public void setSpecialiZations(String specialiZations)
    {
        this.specialiZations = specialiZations;
    }

    public String getSpecialiZations()
    {
        return specialiZations;
    }
    public void setAvailabilitySchedule(Date availabilitySchedule)
    {
        this.availabilitySchedule = availabilitySchedule;
    }

    public Date getAvailabilitySchedule()
    {
        return availabilitySchedule;
    }
    public void setHireDate(Date hireDate)
    {
        this.hireDate = hireDate;
    }

    public Date getHireDate()
    {
        return hireDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("barberID", getBarberID())
            .append("firstName", getFirstName())
            .append("lastName", getLastName())
            .append("specialiZations", getSpecialiZations())
            .append("availabilitySchedule", getAvailabilitySchedule())
            .append("hireDate", getHireDate())
            .toString();
    }
}
